home *** CD-ROM | disk | FTP | other *** search
/ Programmers Heaven 2 / Programmers Heaven 2.iso / files / windows / ocx / ipack.exe / MAILGLOB.BAS < prev    next >
Encoding:
BASIC Source File  |  1997-05-05  |  1.8 KB  |  68 lines

  1. Attribute VB_Name = "MailGLOBALS"
  2. Option Explicit
  3. '
  4. ' Properties accessed by setup forms
  5. '
  6. Global g_emailaddr As String
  7. Global g_username As String
  8. Global g_PopHost As String
  9. Global g_PopUserName As String
  10. Global g_PopPassword As String
  11. Global g_SmtpHost As String
  12. Global g_SmtpUsername As String
  13. Global g_SmtpPassword As String
  14.  
  15. '
  16. ' Action constants
  17. '
  18. Global Const MailActionNoAction = 0
  19. Global Const MailActionAbort = 1
  20. Global Const MailActionAscend = 2
  21. Global Const MailActionConnect = 3
  22. Global Const MailActionCreatePart = 4
  23. Global Const MailActionDecode = 5
  24. Global Const MailActionDeletePart = 6
  25. Global Const MailActionDescend = 7
  26. Global Const MailActionDisconnect = 8
  27. Global Const MailActionEncode = 9
  28. Global Const MailActionHostDelete = 10
  29. Global Const MailActionNewMessage = 11
  30. Global Const MailActionRead = 12
  31. Global Const MailActionReadMessage = 13
  32. Global Const MailActionWrite = 14
  33. Global Const MailActionWriteMessage = 15
  34. '
  35. ' Source and Destination flags
  36. '
  37. Global Const MailSrcIsBuffer = 1
  38. Global Const MailSrcIsFile = 2
  39. Global Const MailSrcIsHost = 4
  40. Global Const MailSrcIsBody = 8
  41. Global Const MailDstIsBuffer = 16
  42. Global Const MailDstIsFile = 32
  43. Global Const MailDstIsHost = 64
  44. Global Const MailDstIsBody = 128
  45.  
  46.  
  47.  
  48. Declare Function SendMessage Lib "User32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
  49.  
  50. Global Const WM_SETREDRAW = &HB
  51. Global Const WM_USER = &HB0
  52. Global Const EM_GETSEL = &HB0
  53. Global Const EM_SETSEL = &HB1
  54. Global Const EM_LINEINDEX = &HBB
  55. Global Const EM_LINELENGTH = WM_USER + 17
  56. Global Const EM_GETLINE = WM_USER + 20
  57. Global Const EM_LINEFROMCHAR = WM_USER + 25
  58. Global Const EM_SETREADONLY = WM_USER + 31
  59.  
  60. Global Const LB_SETTABSTOPS = &H192
  61.  
  62. Type DirCounters
  63.     DirName As String
  64.     HighestMsg As Long
  65. End Type
  66.  
  67.  
  68.